package cn.edu.ahu.aircondition.storage.realtime.domain;

import java.util.List;

public class ComputerPerformanceJson {
    private MemInfo mem_info;
    private List<DiskInfo> disk_info;

    public MemInfo getMem_info() {
        return mem_info;
    }

    public void setMem_info(MemInfo mem_info) {
        this.mem_info = mem_info;
    }

    public List<DiskInfo> getDisk_info() {
        return disk_info;
    }

    public void setDisk_info(List<DiskInfo> disk_info) {
        this.disk_info = disk_info;
    }

    public class MemInfo {
        private Long mem_used;
        private Long mem_free;
        private Long mem_available;
        private Float mem_percent;
        private Long mem_total;

        public Long getMem_used() {
            return mem_used;
        }

        public void setMem_used(Long mem_used) {
            this.mem_used = mem_used;
        }

        public Long getMem_free() {
            return mem_free;
        }

        public void setMem_free(Long mem_free) {
            this.mem_free = mem_free;
        }

        public Long getMem_available() {
            return mem_available;
        }

        public void setMem_available(Long mem_available) {
            this.mem_available = mem_available;
        }

        public Float getMem_percent() {
            return mem_percent;
        }

        public void setMem_percent(Float mem_percent) {
            this.mem_percent = mem_percent;
        }

        public Long getMem_total() {
            return mem_total;
        }

        public void setMem_total(Long mem_total) {
            this.mem_total = mem_total;
        }
    }

    public class DiskInfo{
        private Long disk_total;
        private String disk_id;
        private Long disk_free;
        private Long disk_used;
        private Float disk_percent;

        public Long getDisk_total() {
            return disk_total;
        }

        public void setDisk_total(Long disk_total) {
            this.disk_total = disk_total;
        }

        public String getDisk_id() {
            return disk_id;
        }

        public void setDisk_id(String disk_id) {
            this.disk_id = disk_id;
        }

        public Long getDisk_free() {
            return disk_free;
        }

        public void setDisk_free(Long disk_free) {
            this.disk_free = disk_free;
        }

        public Long getDisk_used() {
            return disk_used;
        }

        public void setDisk_used(Long disk_used) {
            this.disk_used = disk_used;
        }

        public Float getDisk_percent() {
            return disk_percent;
        }

        public void setDisk_percent(Float disk_percent) {
            this.disk_percent = disk_percent;
        }
    }
}
